package cn.t.core.mode;

import cn.t.core.BaseEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum YesNoEnum implements BaseEnum<String, String> {

    TRUE("Y", "TRUE"), FALSE("N", "FALSE");

    @JsonValue
    @EnumValue
    private final String code;
    private final String name;
}
